package com.captjack.dubbo.web.hello;

import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Administrator
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.captjack.dubbo.web.hello"})
@EnableDubboConfiguration
public class HelloWebApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(HelloWebApplication.class).bannerMode(Banner.Mode.CONSOLE).run(args);
    }

}
